package com.lindroy.androidplayer.viewmodels

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ReportFragment
import androidx.lifecycle.ViewModel
import androidx.lifecycle.switchMap
import com.lindroy.androidplayer.logic.network.repository.Repository

/**
 * @author Lin
 * @date 2022/1/22
 * @function
 */
class WxChapterViewModel : ViewModel() {
    private val _wxChaptersLiveData = MutableLiveData<Unit>()

    val wxChapterLiveData = Repository.getWxChapters()

    fun getWxChapters() {
        _wxChaptersLiveData.postValue(Unit)
    }
}